package controller.action;

import model.service.ExamineeService;

import com.opensymphony.xwork2.ActionSupport;

public class Register extends ActionSupport{
	private String result;
	private ExamineeService examineeService;
	public void setExamineeService(ExamineeService examineeService) {
		this.examineeService = examineeService;
	}

	private String userInfo;
	
	public String getResult() {
		return result;
	}
	
	public void setUserInfo(String userInfo) {
		this.userInfo = userInfo;
	}
	
	public String register(){
		result = examineeService.register(userInfo);
		return SUCCESS;
	}
	
}
